.class Lcom/kuguo/ad/aa;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/kuguo/ad/l;


# direct methods
.method constructor <init>(Lcom/kuguo/ad/l;)V
    .locals 0

    iput-object p1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a()V
    .locals 9

    const/4 v4, 0x1

    new-instance v8, Lcom/kuguo/a/d;

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-object v0, v0, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->i:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ".apk"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget v3, v3, Lcom/kuguo/ad/o;->h:I

    invoke-static {v1, v2, v3}, Lcom/kuguo/ad/a;->b(Landroid/content/Context;Ljava/lang/String;I)Ljava/io/File;

    move-result-object v1

    invoke-direct {v8, v0, v1, v4}, Lcom/kuguo/a/d;-><init>(Ljava/lang/String;Ljava/io/File;I)V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget v0, v0, Lcom/kuguo/ad/o;->E:I

    if-ne v0, v4, :cond_0

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-static {v0}, Lcom/kuguo/ad/r;->d(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v8, v0}, Lcom/kuguo/a/d;->a(Ljava/lang/String;)V

    :cond_0
    const/4 v0, -0x2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v8, v0}, Lcom/kuguo/a/d;->a(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const v1, 0x1080081

    const-string v2, "\u6b63\u5728\u4e0b\u8f7d..."

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget v3, v3, Lcom/kuguo/ad/o;->h:I

    const/16 v4, 0x10

    new-instance v5, Landroid/content/Intent;

    invoke-direct {v5}, Landroid/content/Intent;-><init>()V

    iget-object v6, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v6}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v6

    iget-object v6, v6, Lcom/kuguo/ad/o;->g:Ljava/lang/String;

    const/4 v7, 0x0

    invoke-static/range {v0 .. v7}, Lcom/kuguo/ad/r;->a(Landroid/content/Context;ILjava/lang/String;IILandroid/content/Intent;Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    new-instance v1, Lcom/kuguo/ad/x;

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v2

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    const/4 v4, 0x0

    invoke-direct {v1, v2, v3, v4}, Lcom/kuguo/ad/x;-><init>(Landroid/content/Context;Lcom/kuguo/ad/o;Landroid/os/Handler;)V

    invoke-static {v0, v8, v1}, Lcom/kuguo/ad/r;->a(Landroid/content/Context;Lcom/kuguo/a/d;Lcom/kuguo/a/c;)V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 10

    const/4 v9, 0x2

    const/4 v2, -0x1

    const/high16 v8, 0x1000

    const/4 v5, 0x0

    const/4 v6, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/kuguo/ad/MainActivity;->a(Landroid/content/Context;Lcom/kuguo/ad/o;)V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "\u60a8\u53ef\u7a0d\u5019\u901a\u8fc7\u684c\u9762\u4e0a ["

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->g:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, "] \u5feb\u6377\u65b9\u5f0f\u8fdb\u5165\u8be5\u8f6f\u4ef6\u7684\u4e0b\u8f7d\u9875\u9762\uff01"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-byte v0, v0, Lcom/kuguo/ad/o;->e:B

    const/4 v1, 0x7

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const/4 v1, 0x0

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    sget v4, Lcom/kuguo/ad/a;->a:I

    invoke-static/range {v0 .. v6}, Lcom/kuguo/ad/a;->a(Landroid/content/Context;Landroid/content/Intent;ILcom/kuguo/ad/o;IZZ)V

    :cond_1
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->e(Lcom/kuguo/ad/l;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string v0, "android__log"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "update ad status "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->g:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, " id : "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget v3, v3, Lcom/kuguo/ad/o;->h:I

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, " status : "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/4 v3, 0x3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/kuguo/c/a;->a(Ljava/lang/String;Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-static {v0}, Lcom/kuguo/ad/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-static {v0}, Lcom/kuguo/ad/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    iget v1, v1, Lcom/kuguo/ad/o;->h:I

    const/4 v3, 0x3

    invoke-static {v0, v1, v3}, Lcom/kuguo/ad/a;->a(Ljava/lang/String;II)Z

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-byte v0, v0, Lcom/kuguo/ad/o;->e:B

    if-ne v0, v6, :cond_3

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const/4 v1, 0x0

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    sget v4, Lcom/kuguo/ad/a;->a:I

    invoke-static/range {v0 .. v6}, Lcom/kuguo/ad/a;->a(Landroid/content/Context;Landroid/content/Intent;ILcom/kuguo/ad/o;IZZ)V

    :cond_3
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-byte v0, v0, Lcom/kuguo/ad/o;->e:B

    packed-switch v0, :pswitch_data_1

    :goto_2
    :pswitch_3
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iput-object v1, v0, Lcom/kuguo/ad/o;->l:Ljava/lang/Integer;

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/kuguo/ad/a;->b(Landroid/content/Context;Lcom/kuguo/ad/o;)Z

    goto :goto_1

    :pswitch_4
    invoke-direct {p0}, Lcom/kuguo/ad/aa;->a()V

    goto :goto_2

    :pswitch_5
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-object v0, v0, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v1, "["

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    iget-object v1, v1, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v2, "]"

    invoke-virtual {v1, v2, v0}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v1

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v2

    iget-object v2, v2, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v2

    iget-object v2, v2, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v3, "["

    invoke-virtual {v2, v3, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v2

    iget-object v2, v2, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v3, "]"

    invoke-virtual {v2, v3, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v2

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    invoke-virtual {v3, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    const-string v3, "android.intent.action.SENDTO"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v2, v8}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "smsto:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    const-string v0, "sms_body"

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_2

    :pswitch_6
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-object v0, v0, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v1, "["

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    iget-object v1, v1, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v2, "]"

    invoke-virtual {v1, v2, v0}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v1

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v2

    iget-object v2, v2, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    const-string v3, "android.intent.action.DIAL"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v2, v8}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    invoke-virtual {v3, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "tel:"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_2

    :pswitch_7
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget-object v0, v0, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v1

    iget-object v1, v1, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v2, "["

    invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    iget-object v2, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v2}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v2

    iget-object v2, v2, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    const-string v3, "]"

    invoke-virtual {v2, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    array-length v1, v0

    if-ne v1, v9, :cond_0

    aget-object v1, v0, v5

    invoke-static {v1}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v1

    aget-object v0, v0, v6

    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v3

    new-instance v7, Landroid/content/Intent;

    invoke-direct {v7}, Landroid/content/Intent;-><init>()V

    const-string v0, "android.intent.action.VIEW"

    invoke-virtual {v7, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v7, v8}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const-string v0, "http://ditu.google.cn/maps?hl=zh&mrt=loc&q=%s,%s"

    new-array v8, v9, [Ljava/lang/Object;

    invoke-static {v3, v4}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v3

    aput-object v3, v8, v5

    invoke-static {v1, v2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    aput-object v1, v8, v6

    invoke-static {v0, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    invoke-virtual {v0, v7, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_6

    :cond_5
    const-string v0, "android__log"

    const-string v1, "not find the matched Activity click action not work!"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    :cond_6
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_7
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_8

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/pm/ResolveInfo;

    const-string v2, "com.google.android.apps.maps"

    iget-object v0, v0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v0, v0, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    :cond_8
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_2

    :pswitch_8
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v0

    iget v0, v0, Lcom/kuguo/ad/o;->B:I

    if-ne v0, v6, :cond_0

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const/4 v1, 0x0

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    sget v4, Lcom/kuguo/ad/a;->a:I

    invoke-static/range {v0 .. v6}, Lcom/kuguo/ad/a;->a(Landroid/content/Context;Landroid/content/Intent;ILcom/kuguo/ad/o;IZZ)V

    goto/16 :goto_0

    :pswitch_9
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->f(Lcom/kuguo/ad/l;)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const-string v1, "\u6b63\u5728\u6253\u5f00360\u624b\u673a\u536b\u58eb..."

    const/16 v2, 0x5dc

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const-string v1, "com.qihoo360.mobilesafe"

    invoke-static {v0, v1}, Lcom/kuguo/ad/a;->d(Landroid/content/Context;Ljava/lang/String;)Z

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v0}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v0

    const-string v1, "\u8fdb\u5165\u6d4f\u89c8\u5668\u4e86\u89e3360\u624b\u673a\u536b\u58eb\u8be6\u7ec6\u5185\u5bb9..."

    const/16 v2, 0x5dc

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "android.intent.action.VIEW"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "http://video.cooguo.com/cooguogw/wap/360Push.jsp"

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    :pswitch_a
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.SEND"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v1, "text/plain"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "android.intent.extra.TEXT"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->m:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "  \n"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " \n"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v3}, Lcom/kuguo/ad/l;->d(Lcom/kuguo/ad/l;)Lcom/kuguo/ad/o;

    move-result-object v3

    iget-object v3, v3, Lcom/kuguo/ad/o;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {v0, v8}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    iget-object v1, p0, Lcom/kuguo/ad/aa;->a:Lcom/kuguo/ad/l;

    invoke-static {v1}, Lcom/kuguo/ad/l;->a(Lcom/kuguo/ad/l;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "\u8bf7\u9009\u62e9\u5171\u4eab\u65b9\u5f0f"

    invoke-static {v0, v2}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_8
        :pswitch_9
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_a
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_4
        :pswitch_3
        :pswitch_4
        :pswitch_3
        :pswitch_4
        :pswitch_3
        :pswitch_6
        :pswitch_7
        :pswitch_4
    .end packed-switch
.end method
